package com.gitee.feizns.permission.menu.spring.boot.starter;

import com.gitee.feizns.premission.menu.intercetor.VerificationHandler;
import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

import java.lang.annotation.Annotation;

/**
 * @author feizns
 * @since 2019/5/10
 */
@Data
@ConfigurationProperties(prefix = "permission.menu")
public class PermissionMenuProperties {

    /**
     * 权限菜单拦截器，注解类型
     */
    private Class<? extends Annotation> annotation;

    /**
     * 验证处理器.
     */
    private Class<? extends VerificationHandler> handlerClass;

}
